{% extends "base_generic.html" %}
{% block content %}
<div class="container">
  <div class="card" style="max-width: 500px; margin: 40px auto;">
    <h2 style="text-align:center;">编辑作者信息</h2>
    <form method="post">
      {% csrf_token %}
      {{ form.as_p }}
      <div style="text-align:center;">
        <button type="submit" class="btn">保存</button>
        <a href="{% url 'authors' %}" class="btn btn-danger">取消</a>
      </div>
    </form>
  </div>
</div>
{% endblock %}
